package org.dk.poitalk.service.entity;


import java.io.Serializable;
import java.util.HashMap;

import org.dk.poitalk.dao.GenericDao;
import org.dk.poitalk.model.EntityClient;

public interface EntityService extends GenericDao<EntityClient, Serializable>{

	public static final String IDPLACE = "idPlace";
	public static final String SELECT_ENTITY_IDPLACE ="SELECT e FROM " +  EntityClient.class.getSimpleName()	 + " e WHERE idPlace = :"+ IDPLACE;
	public static final String SELECT_ENTITY_PARAMS ="SELECT e FROM " +  EntityClient.class.getSimpleName()	 + " e";
	public static final String DELETE_ENTITY_IDPLACE ="DELETE FROM " +  EntityClient.class.getSimpleName()	 + " WHERE idPlace = :"+ IDPLACE;

	EntityClient findById(HashMap<String, String> paramValue);
	Boolean addUserAccount(EntityClient entityClient);

}
